package com.erdos.core.constant;

public class FSMConstant {
	/** 产线序列状态类别代码 */
	public final static String STATE_CATEGORY_PS_SEQUENCE_STATE = "PS_SEQUENCE_STATE";
	/** 产线序列行项状态类别代码 */
	public final static String STATE_CATEGORY_PS_SEQUENCE_ITEM_STATE = "PS_SEQUENCE_ITEM_STATE";
	
	public final static String PS_SEQUENCE_ITEM_WTM_STATE="PS_SEQUENCE_ITEM_WTM_STATE";
	/**物料生命周期*/
	public final static String STATE_CATEGORY_MAT_LIFECYCLE_STATE = "PES_MAT_LIFECYCLE_STATE";
	/**物料生命周期 - 可生产*/
	public final static String STATE_CATEGORY_MAT_LIFECYCLE_STATE_CANBEPRODUCTED = "STA_MAT_LFCL_CANBEPRODUCTED";
	/**物料生命周期 - 已计划*/
	public final static String STATE_CATEGORY_MAT_LIFECYCLE_STATE_SCHEDULE = "STA_MAT_LFCL_SCHEDULE";
	/**物料生命周期 - 已注销*/
	public final static String STATE_CATEGORY_MAT_LIFECYCLE_STATE_CANCELED = "STA_MAT_LFCL_CANCELED";
	/**物料生命周期 - 已消耗*/
	public final static String STATE_CATEGORY_MAT_LIFECYCLE_STATE_COMSUMED = "STA_MAT_LFCL_COMSUMED";
	/**物料生命周期 - 生产中*/
	public final static String STATE_CATEGORY_MAT_LIFECYCLE_STATE_PRODUCTING = "STA_MAT_LFCL_PRODUCTING";
	/**物料生命周期 - 已声明*/
	public final static String STATE_CATEGORY_MAT_LIFECYCLE_STATE_ANNOUNCED = "STA_MAT_LFCL_ANNOUNCED";
	
	
	/**物料库存状态*/
	public final static String STATE_CATEGORY_MAT_STORAGE_STATE = "PES_MAT_STORAGE_STATE";
	/**物料预判状态*/
    public final static String PES_QM_PRE_FQC_STATE = "PES_QM_PRE_FQC_STATE";
	/**物料质检状态*/
	public final static String STATE_CATEGORY_MAT_INSPECT_STATE = "PES_MAT_INSPECT_STATE";
	/**物料库存状态 - 待入库*/
	public final static String STATE_CATEGORY_MAT_STORAGE_STATE_WAITRECEIVED = "STA_MAT_STRG_WAITRECEIVED";
	/**物料库存状态 - 已预约*/
	public final static String STATE_CATEGORY_MAT_STORAGE_STATE_RESERVED = "STA_MAT_STRG_RESERVED";
	/**物料库存状态 - 已入库*/
    public final static String STA_MAT_STRG_RECEIVED="STA_MAT_STRG_RECEIVED";
    /**物料库存状态 - 已上料*/
    public final static String STA_MAT_STRG_CHARGED="STA_MAT_STRG_CHARGED";
    /**物料库存状态 - 已配车*/
    public final static String STA_MAT_STRG_DISPATCHED="STA_MAT_STRG_DISPATCHED";
	
	/**生产订单状态*/
	public final static String STATE_CATEGORY_PS_ORDER_STATE = "PS_ORDER_STATE";
	/**生产订单状态 生产中*/
	public final static String STATE_CATEGORY_PS_ORDER_STATE_PRODUCTING = "STA_PS_ORD_PRODUCTING";
	
	/**订单链状态 TE展开已完成*/
	public final static String STA_POCHAIN_TE_FINISHED = "STA_POCHAIN_TE_FINISHED";
	public final static String STA_POCHAIN_TE_UNFINISHED = "STA_POCHAIN_TE_UNFINISHED";
	/**订单链状态 TE展开处理中*/
	public final static String STA_POCHAIN_TE_OPERATING = "STA_POCHAIN_TE_OPERATING";
	
	/**物料生命周期状态-已申明(初始状态)*/
	public final static Integer COND_MAT_LIFECYCLE_STATE_ANNOUNCED = Integer.valueOf(1);
	/**物料生命周期状态-可生产*/
	public final static Integer COND_MAT_LIFECYCLE_STATE_CANBEPRODUCTED = Integer.valueOf(2);
	/**物料生命周期状态-已计划*/
	public final static Integer COND_MAT_LIFECYCLE_STATE_SCHEDULE =Integer.valueOf(3);
	/**物料生命周期状态-已注销*/
	public final static Integer COND_MAT_LIFECYCLE_STATE_CANCELED = Integer.valueOf(4);
	/**物料生命周期状态-已消耗*/
	public final static Integer COND_MAT_LIFECYCLE_STATE_COMSUMED = Integer.valueOf(5);
	/**物料生命周期状态-生产中*/
	public final static Integer COND_MAT_LIFECYCLE_STATE_PRODUCTING = Integer.valueOf(6);
	
	/**物料生命周期状态-物料申明状态变迁条件（生命周期）*/
	public final static Integer COND_MAT_LIFECYCLE_MATANNOUNCE = Integer.valueOf(1);
	/**物料生命周期状态-物料申明状态变迁条件（存储周期）*/
	public final static Integer COND_MAT_STORAGE_STATE_MATANNOUNCE = Integer.valueOf(2);
	
	/**物料移动事件*/
	public final static String EVT_WTM_MAT_MOVEMENT= "EVT_WTM_MAT_MOVEMENT";
	/**物料收货事件*/
	public final static String EVT_WTM_RECV= "EVT_WTM_RECV";
	/**物料取消投料*/
	public final static String TXN_MAT_CANCEL_CAST = "TXN_MAT_CANCEL_CAST";
	public final static String EVT_WTM_CANCEL_CAST = "EVT_WTM_CANCEL_CAST";
	/**预约入库事件*/
	public final static String EVT_WTM_SLOT_RESERVE= "EVT_WTM_SLOT_RESERVE";
	/**物料生命周期状态-生产中*/
	public final static String EVT_WTM_TRUCK_DISPATCH= "EVT_WTM_TRUCK_DISPATCH";
	/**物料生命周期状态-生产中*/
	public final static String EVT_WTM_TRACKOUT= "EVT_WTM_TRACKOUT";
	/**物料发货事件*/
	public final static String EVT_WTM_SHIPMENT_NTF= "EVT_WTM_SHIPMENT_NTF";
	/**物料生命周期状态-生产中*/
	public final static String EVT_WTM_MAT_REFUSE= "EVT_WTM_MAT_REFUSE";
	
	public final static String EVT_WTM_DELIVERY="EVT_WTM_DELIVERY";
	
	public final static String TXN_WTM_SHIPMENT_NTF="TXN_WTM_SHIPMENT_NTF";
	
	public final static String EVT_WTM_UNLOAD_CAR="EVT_WTM_UNLOAD_CAR";
	
	public final static String TXN_WTM_UNLOAD_CAR="TXN_WTM_UNLOAD_CAR";
	
	public final static String EVT_WTM_RECEIVE_DO= "EVT_WTM_RECEIVE_DO";
	
	public final static String EVT_WTM_CONFIRM_DO= "EVT_WTM_CONFIRM_DO";
	
	public final static String EVT_WTM_CANCEL_UPLOAD_DO= "EVT_WTM_CANCEL_UPLOAD_DO";
	
	public final static String EVT_WTM_DELETE_DO= "EVT_WTM_DELETE_DO";
	
	public final static String EVT_JL_WTM_SHIPMENT_WEIGHT_APPLY="EVT_JL_WTM_SHIPMENT_WEIGHT_APPLY";
	
	public final static String EVT_L2_FN_TRACKOUT = "EVT_L2_FN_TRACKOUT";
    
    public final static String EVT_L2_FN_TRACKIN = "EVT_L2_FN_TRACKIN";
    
    public final static String EVT_JL_WTM_OFFLINE_RECEIVE="EVT_JL_WTM_OFFLINE_RECEIVE";
    
    public final static String EVT_JL_WTM_SHIPMENT="EVT_JL_WTM_SHIPMENT";
    
    public final static String EVT_WTM_PLANTS_MOVE="EVT_WTM_PLANTS_MOVE";
    
	
}
